package org.scala.javafx.rich

import java.lang.reflect.Field

case class RichField(underlying: Field) {
  def apply(item: Object): Object = underlying.get(item)
  def declaredAnnotations = underlying.getDeclaredAnnotations()
  def declaringClass = underlying.getDeclaringClass()
  def genericType = underlying.getGenericType()
  def modifers = underlying.getModifiers()
  def name = underlying.getName()
  def _type = underlying.getType()
  def annotations = underlying.getAnnotations()
  def accessible = underlying.isAccessible()
  def accessible_=(value: Boolean) = underlying.setAccessible(value)
}
